home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 March
/
PCWorld_2007-03_cd.bin
/
komunikace
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Rotating Images.sd
< prev
next >
Wrap
INI File
|
2006-09-13
|
2KB
|
119 lines
[SUBJECT]
Description=Displays several images one after the other
ImageIndex=-1
Folder=Graphical Effects
[HEAD_TEXT]
;<script language="JavaScript">
;<!-- begin script
; pubs=new Array();
; liens=new Array();
; pubT=0;
; pub = -1;
; function AfficherPub(pubs,pubDelay1) {
; pubDelay = pubDelay1;
;
; pub = pub + 1;
; if (pub == pubs.length)
; pub = 0;
; document.pubImg.src = pubs[pub];
; pubT = setTimeout("AfficherPub(pubs,pubDelay)", pubDelay1);
;}
;// end script -->
;</SCRIPT>
;<SCRIPT LANGUAGE="JavaScript">
;<!-- begin script
;function VersionNavigateur(Netscape, Explorer) {
; if ((navigator.appVersion.substring(0,3) >= Netscape && navigator.appName == 'Netscape') ||
; (navigator.appVersion.substring(0,3) >= Explorer && navigator.appName.substring(0,9) == 'Microsoft'))
; return true;
;else return false;
;}
;
;// end script -->
;</script>
;
[BODY_TAG]
;onUnload="clearTimeout(pubT)"
[BODY_TEXT]
;
; <A HREF="" onClick="location=liens[pub]; return false">
; <IMG NAME="pubImg" SRC="`image0`" WIDTH="`image_width`" HEIGHT="`image_height`" BORDER="0"></A>
;
;<SCRIPT LANGUAGE="JavaScript">
;<!-- begin script
;if (VersionNavigateur(3.0,4.0))
;{
;pubs[0] = document.pubImg.src;
;liens[0]='`url0`';
;
#MACRO TEXT
;
; AfficherPub(pubs,`delay`);
;}
;
;// end script -->
;</SCRIPT>
;
[MACRO_ITEM]
;pubs[`image_index`]="`image`"
;liens[`url_index`]="`url`"
;
[`image_index`]
Visible=0
[`url_index`]
Visible=0
[`image`]
Kind=U
Value=image
[`image0`]
Kind=U
Value=image0
[`url`]
Kind=U
Value=url
[`url0`]
Kind=U
Value=url0
[`delay`]
Kind=N
Value=10000
[`image_width`]
Kind=N
Value=20
[`image_height`]
Kind=N
Value=20